package com.chaos.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chaos.framework.model.entity.IdModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.NoArgsConstructor;

/**
 *
 * @author Jacky.Cui
 * @since 2024-11-13
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper =false)
@Accessors(chain = true)
@TableName("rbac_permission_menu_btn")
@ApiModel(value="RbacPermissionMenuBtn实体", description="权限菜单按钮关联表")
public class RbacPermissionMenuBtn extends IdModel {


    @ApiModelProperty(value = "权限id")
    @TableField("permission_id")
    private Long permissionId;


    @ApiModelProperty(value = "菜单或按钮id")
    @TableField("menu_or_btn_id")
    private Long menuOrBtnId;


    @ApiModelProperty(value = "关联类型 1 菜单 2 按钮")
    @TableField("correlation_type")
    private Integer correlationType;


}
